home *** CD-ROM | disk | FTP | other *** search
/ Star Festival... a Return to Japan / Star Festival... a Return to Japan.iso / pc / STARFESTIVAL / 14r.dir / 00001.ls next >
Encoding:
Text File  |  1999-04-02  |  1.9 KB  |  77 lines

  1. on startMovie
  2.   global gCursorReady, gKnobState, gMagCursor, gsearchOn, qtChan, gKnobSprite, gSendMovie, gCurrentLocation
  3.   puppetSprite(44, 1)
  4.   gCursorReady = 1
  5.   gMagCursor = "magCursor"
  6.   gCurrentLocation = 14
  7.   puppetSprite(48, 1)
  8.   puppetSound(0)
  9.   gSendMovie = "14r"
  10.   qtChan = 35
  11.   sprite(qtChan).volume = 256
  12.   cast("ssmem").directToStage = 1
  13.   preLoad(qtChan - 1)
  14.   initGlobals()
  15.   gKnobSprite = 17
  16.   setUpKnob()
  17.   if gsearchOn = 1 then
  18.     sprite(6).visible = 1
  19.   else
  20.     sprite(6).visible = 0
  21.   end if
  22.   set the mouseDownScript to EMPTY
  23.   set the mouseUpScript to EMPTY
  24. end
  25.  
  26. on stopMovie
  27.   puppetSprite(17, 1)
  28. end
  29.  
  30. on idle
  31.   global gCursorReady
  32.   if gCursorReady = 1 then
  33.     cursor(200)
  34.     checkCursors()
  35.     set the locH of sprite 44 to the mouseH
  36.     set the locV of sprite 44 to the mouseV
  37.     updateStage()
  38.   end if
  39. end
  40.  
  41. on checkCursors
  42.   global gMagCursor
  43.   set the castNum of sprite 44 to the number of member "curs1"
  44.   if rollOver(5) then
  45.     set the castNum of sprite 44 to the number of member "hotCursor"
  46.   end if
  47.   if rollOver(22) then
  48.     set the castNum of sprite 44 to the number of member "hotCursor"
  49.   end if
  50.   repeat with i = 8 to 12
  51.     if rollOver(i) then
  52.       set the castNum of sprite 44 to the number of member "hotCursor"
  53.     end if
  54.   end repeat
  55.   repeat with i = 14 to 21
  56.     if rollOver(i) then
  57.       set the castNum of sprite 44 to the number of member "hotCursor"
  58.     end if
  59.   end repeat
  60.   repeat with i = 24 to 28
  61.     if rollOver(i) then
  62.       set the castNum of sprite 44 to the number of member "hotCursor"
  63.     end if
  64.   end repeat
  65.   if rollOver(36) then
  66.     set the castNum of sprite 44 to the number of member "hotCursor"
  67.   end if
  68.   if rollOver(37) then
  69.     set the castNum of sprite 44 to the number of member "nonCursor"
  70.   end if
  71.   repeat with i = 40 to 42
  72.     if rollOver(i) then
  73.       set the castNum of sprite 44 to the number of member "hotCursor"
  74.     end if
  75.   end repeat
  76. end
  77.